package com.example.demo.exception;

import com.example.demo.common.constant.ResultCode;

public class WarnException extends RuntimeException {
    private final ResultCode resultCode;

    public WarnException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return this.resultCode;
    }
}
